package com.roncoo.education.db.dao;

import com.roncoo.education.db.entity.MyHistory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MyHistoryDao {

    Long insert(MyHistory news);

    List<MyHistory> findByBean(MyHistory news);

    MyHistory findById(Long id);

    Integer findByBeanCount(MyHistory news);

    void deleteById(MyHistory news);

    void deleteByBean(MyHistory news);

    void updateById(MyHistory news);

    List<MyHistory> selectMyHistoryList(MyHistory news);

}
